package cn.thread;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/7/21 10:49
 */
public class ThreadDemo extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 50; i++) {
            if (i % 3 == 0) {
                System.out.println(this.getName() + " thread执行。。。" + i);
            }
        }
    }
}
